console .log("hello,world!")

let age = 25;

const pi=3.14
//pi=3.1415926
console.log("age:",age)
console.log("pi:",pi)

let myName="littleFatty"
let email=`littleFatty@google.com`

console.log (email)

let firstName ="Brandon"
let LastName ="Sanderson"

let fullName =`${ firstName } ${ LastName}`

console.log(fullName)

//
console.log(fullName[2])

//
console.log(fullName.length)

//
console.log(fullName.toUpperCase())

let result = fullName.toLowerCase()

console.log(result)

//let index = email.indexOf("@")
//console.log(index)

let index = email.lastIndexOf("g")
console.log(index)

let res = email.slice(0,10)
console.log(res)

let substr_email = email.substr(2,7)
console.log(substr_email)

let replace_email=email.replace("google","baidu")
console.log(replace)